@import url(./common/backCommon.css);

.category {
  overflow: hidden;
}

.category li {
  width: 300px;
  height: 300px;
  float: left;
  margin: 0 10px 20px;
  border-radius: 5px;

  background: #fff;
  border: 1px solid #ccc;

  position: relative;
}

.category li div {
  width: 100%;
  height: 100%;
  position: absolute;
  display: flex;
  align-items: center;
}

.icon {
  justify-content: center;
  flex-direction: column;
}

.icon .iconfont {
  font-size: 150px;
  margin-bottom: 20px;
  color: #ff8400;
}

.icon .name {
  font-size: 30px;
  color: #aaa;
}

.edit {
  justify-content: space-around;
  background: rgba(0, 0, 0, .9);
  opacity: 0;
}

.edit span {
  color: #dbdbdb;
  font-size: 80px;
  cursor: pointer;
}

.edit span:hover {
  color: #ff8400;
}

.category li:hover .edit {
  opacity: 1;
  transition: .4s;
}

.add {
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.add span {
  font-size: 200px;
  color: #ccc;
}

.add:hover {
  background: #eee;
  transition: .3s;
}